package com.azt.api.service;
import com.azt.api.pojo.FriendlyLink;
import com.azt.model.page.Pagination;

import java.util.List;
import java.util.Map;


public interface FriendlyLinkService {

	Pagination getFriendlyLinkPage(int pageno, int pagesize, Map<String, String> searchMap);
	
	FriendlyLink getFriendlyLinkById(Integer id);
	
	void saveOrUpdateFriendlyLink(FriendlyLink friendlyLink);
	
	void deleteFriendlyLink(FriendlyLink friendlyLink);

	/**
	 * 首页友情链接
	 * */
    List<FriendlyLink> findIndexFriendlyLink();
}

